﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using KVB.Common;
using Customer_Profile.eCard.DBDao;

namespace Customer_Profile.eCard.Settle
{
    public partial class Convert_Detail : System.Web.UI.Page
    {
        string convert_id = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request["convert_id"] != null)
            {
                convert_id =Request["convert_id"].ToString();
            }
            bindConvertList();
        }

        private void bindConvertList()
        {
            try
            {
                //decimal iAmount = decimal.Parse(txtAmount.Text);
                DataSet ds = DealDao.getConvertListByConvertID(int.Parse(convert_id));
                gridConvert.DataSource = ds;
                gridConvert.DataBind();
            }
            catch (Exception ex)
            {
                Response.Write(ex.ToString());
            }
        }
    }
}